import utils from './desktop.utils'

import { getHmmodelfolderListTree } from "@/apis/paas/HmModelFolderController.js";
import { getHmhttprequestdefinitionList } from "@/apis/paas/HmHttpRequestDefinitionController.js";
import { getHmprocessList } from '@/apis/paas/HmProcessController.js'


export default {
  async getModels() {
    const res = await getHmmodelfolderListTree();
    return res;
  },
  async getServices(modelCode) {
    const res = await getHmhttprequestdefinitionList({ modelCode });
    return res;
  },
  async getProcesses(){
    const res = await getHmprocessList();
    return res;
  },
  ...utils
}